package com.buybuyyi.stylistcrm.resource.mapper;

import com.buybuyyi.stylistcrm.resource.po.ObjectResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ObjectResourceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ObjectResource record);

    int insertSelective(ObjectResource record);

    ObjectResource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ObjectResource record);

    int updateByPrimaryKey(ObjectResource record);

    ObjectResource selectByTempId(String tempId);

    List<ObjectResource> selectByObjectIdAndObjectName(@Param("objectId") long objectId,@Param("objectName") String objectName);
}